import http from "../http";
const setReserve = (obj) =>
  http({
    url: "/setreserve",
    method: "get",
    params: { ...obj },
  });
const setDesk = (obj) =>
  http({
    url: "/setDesk",
    method: "get",
    params: { ...obj },
  });
const setScheduling = (obj) =>
  http({
    url: "/setScheduling",
    method: "get",
    params: { ...obj },
  });
const setDocterDate = (obj) =>
  http({
    url: "/setDocterDate",
    method: "get",
    params: { ...obj },
  });
const amendWork = (obj) =>
  http({
    url: "/amendWork",
    method: "post",
    data: { ...obj },
  });
const addWork = (obj) =>
  http({
    url: "/addWork",
    method: "post",
    data: { ...obj },
  });
const amendRerve = (obj) =>
  http({
    url: "/amendServeation",
    method: "post",
    data: { ...obj },
  });
export {
  setReserve,
  setDesk,
  setScheduling,
  setDocterDate,
  amendWork,
  addWork,
  amendRerve,
};
